# gf_name_list = ['高圆圆', '刘亦菲', '赵丽颖', '范冰冰', '李嘉欣']

# print(gf_name_list[2])
# print(gf_name_list[4])
# print(gf_name_list[-1])
#
# print(gf_name_list[1:])
#
# print(gf_name_list[-1:0])
# print(gf_name_list[3:0:-1])
# print(gf_name_list[::-2])

# gf_name_list[3] = "佟丽娅"
# print(gf_name_list)

# gf_name_list = ['高圆圆', '刘亦菲', '赵丽颖', '范冰冰', '李嘉欣']

# gf_name_list[1:4] = 100,200,300
# gf_name_list[1:4] = [100,200,300]
# gf_name_list[1:4] = ["霹雳狐","小允","小苏菲"]
# print(gf_name_list)
s = "hello yuan"
# print(s.upper())
# print(s.lower())
# print(s.capitalize())
ret = list(s)
print(ret)
ret[-2] = "A"
print(ret)
ret2 = "".join(ret)
print(ret2)